import React, { Component } from 'react';
import { Provider } from 'react-redux';
import route from './router/route';
import store from './redux/store';
import './config/initWin';

import './assets/sass/common.scss';
import './assets/sass/main.scss';

store.subscribe(() => { //监听state变化
	console.log(store.getState())
});

class App extends Component {
  render() {
    return (
        <Provider store={store}>
			{ route }
        </Provider>
    );
  }
}

export default App;
